#pragma once
#include "chartcontrol.h"
class CMovingChart :
	public CChartControl
{

private:
	int m_Max;
	int m_Min;


public:
	CMovingChart(void);
	~CMovingChart(void);

	void setXRange(int nMin, int nMax){ m_Min=nMin;m_Max=nMax; m_cChartConfig.nInitWidth=m_Max-m_Min;};
	int getDataSize(){return m_ChartData[0].lstData.GetSize();};
	//override
	void DrawData(HDC hDC);
	void DrawAxisX(HDC hDC);


};

